package cn.com.dingtek.genius.manager.server.repository.db.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeviceReport702 {
    @TableId(value = "id", type = IdType.AUTO)

    private Long id;

    private Long deviceBaseId;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ctime;


    private Integer height;


    private String lng;


    private String lat;


    private Integer temperature;


    private Integer deviceStatus;


    private Integer angle;


    private Integer fireState;


    private Integer fullState;


    private Integer fallState;


    private Integer batteryQuantityStatus;


    private Integer signState;


    private String voltage;


    private String rsrp;


    private String snr;


    private String cell;


    private Integer unixTime;


    private Integer frameCount;
}
